<template>
    <div>
        About
    </div>
    <el-button @click="goHome">首页</el-button>
</template>

<script>
    export default {
        name: "About"
    }
</script>
<script setup>
    import { useRouter } from 'vue-router'
    const router = useRouter()
    const goHome = () => {
        router.push('/welcome')
    }
</script>

<style scoped>

</style>
